// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  // 优化dialog样式
  margin: 10vh auto;
  width: 840px;
}

.el-date-editor.el-input, .el-date-editor.el-input__inner {
  width: 100%;
}


// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.is-active{
  &>.el-submenu__title{
    background: rgba(100,156,238, .2) !important;
    color: #fff !important;
    position: relative;
    &:after{
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 5px;
      height: 100%;
      background: linear-gradient(180deg, #2EBEFF 0%, #50A0FF 100%);
    }
    &:before{
      content: '';
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 7px solid transparent;
      border-right: 8px solid #fff;
      border-bottom: 7px solid transparent;
    }
  }
}
// .el-icon-arrow-down{
//   display: none;
// }

.el-button--primary{
  background: #4787FF;
  border-color: #4787FF;
  &:hover{
    background: #0B64EB;
    border-color: #0B64EB;
  }
}
